package com.nanhai.buddhist.college.module.study.controller.admin.attendancemanagement.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author AKai
 * @date 2022/8/25
 */
@Data
@ApiModel(value = "请假列表搜索条件")
public class AttendanceManagementListReqVO {

    @ApiModelProperty(value = "请假人id", required = true)
    @NotBlank(message = "请假人不能为空")
    private String userId;

    @ApiModelProperty(value = "用户角色（4-学生 3-教师）", required = true)
    @NotBlank(message = "角色类型不能为空")
    private String userType;

    @ApiModelProperty(value = "审批状态", required = true)
    private Integer approvalStatus;

    @ApiModelProperty(value = "请假事由id", required = true)
    private String reasonId;

}
